// 封装加载中组件
import React, { Component } from 'react';
import { Spin } from 'antd';
import styled from "styled-components"
class Loading extends Component {
  render() {
    return (
      <Container>
        <Spin size="large" tip="Loading..."/>
      </Container>
    );
  }
}
// 容器样式
const Container = styled.div`
  margin: 0 0;
  padding-top: 20%;
  text-align: center;
  background: rgba(255,255,255);
  border-radius: 4px;
`
export default Loading;
